Introduced with
4b450bab1164b9b1225702238e539201974a68b6, this function
has never been used. Furthermore it is wrong because objectPaths is not
indexed. Just drop it.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4084>
return proxyList;
}
-
- getAllProxies() {
- const proxies = [];
-
- const objectPaths = Object.keys(this._objects);
- for (let i = 0; i < objectPaths.length; i++) {
- const object = this._objects[objectPaths];
-
- const interfaceNames = Object.keys(object);
- for (let j = 0; j < interfaceNames.length; j++) {
- const interfaceName = interfaceNames[j];
- if (object[interfaceName])
- proxies.push(object(interfaceName));
- }
- }
-
- return proxies;
- }
}